const getters = {
    sidebar: state => state.app.sidebar,
    token: state => state.user.token,
    avatar: state => state.user.avatar,
    name: state => state.user.name,
    uid: state => state.user.uid,
    email: state => state.user.email,
    introduction: state => state.user.introduction,
    authType: state => state.user.authType,
    status: state => state.user.status,
    roles: state => state.user.roles,
    setting: state => state.user.setting,
    permissionRouters: state => state.permission.routers,
    addRouters: state => state.permission.addRouters,
    config: state => state.config,
    agentType: state => state.user.agentType,
    menuGenerated: state => state.user.menuGenerated,
    sroleId: state => state.user.sroleId,
    agentUsername: state => state.user.agentUsername,
    agentPassword: state => state.user.agentPassword,
    auserName: state => state.user.auserName
    // clientType: state => state.user.clientType // 为了统计在线用户的信息 by cuihd 20171229
};
export default getters
